PCI: properly abstract out per-architecture extensions to struct pci_dev
authorJan Beulich <jbeulich@suse.com>
Mon, 9 Jan 2012 14:59:59 +0000 (15:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 9 Jan 2012 14:59:59 +0000 (15:59 +0100)
commitdb62a1c49262ef14ce5d039345666aea6139c430
tree272f4d540e9e4010c1bb292433b6c3a04e9b1186
parent51bfd20efaf85ec408998ba06b17d5e73d12537e
PCI: properly abstract out per-architecture extensions to struct pci_dev

x86's used_vectors member was both misplaced (in struct pci_dev_info,
which acts as a hypercall input data passing container only) and
improperly abstracted (requiring a CONFIG_X86 conditional in a generic
header).

The adjustment requires hiding several more lines in IA64's pci.h, but
as a benefit this allows removing one of the "null" headers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/irq.c
xen/include/asm-ia64/linux-null/asm-generic/pci-dma-compat.h [deleted file]
xen/include/asm-ia64/linux-xen/asm/pci.h
xen/include/asm-x86/pci.h [new file with mode: 0644]
xen/include/xen/pci.h